package exercises.Charpter7;

class SimpleClass{
	private char a;

	public void setA(char a) {
		this.a = a;
	}

	public char getA() {
		return a;
	}
}

class SecondClass{
	SimpleClass field;
}

public class One {
	public static void main(String[] args){
		SecondClass test = new SecondClass();
		test.field = new SimpleClass();
		test.field.setA('c');
		System.out.println(test.field.getA());
	}
}
